package com.brainshare.an.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainshare.common.annotation.Excel;
import com.brainshare.common.core.domain.BaseEntity;

/**
 * 训练营日志对象 camp_log
 * 
 * @author wolong
 * @date 2023-04-04
 */
public class CampLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 训练营日志主键 */
    private Long id;

    /** 关联用户ID */
    @Excel(name = "关联用户ID")
    private Long wechatUserId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWechatUserId(Long wechatUserId) 
    {
        this.wechatUserId = wechatUserId;
    }

    public Long getWechatUserId() 
    {
        return wechatUserId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wechatUserId", getWechatUserId())
            .append("userName", getUserName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
